Skip to content

test: add recordings for new export tests#155

Open
v-alexmoraru wants to merge 4 commits intomicrosoft:mainfrom
v-alexmoraru:dev/v-alexmoraru/record-new-tests-export
Open

test: add recordings for new export tests#155
v-alexmoraru wants to merge 4 commits intomicrosoft:mainfrom
v-alexmoraru:dev/v-alexmoraru/record-new-tests-export

Conversation

@v-alexmoraru
Copy link
Member

No description provided.

@v-alexmoraru v-alexmoraru marked this pull request as ready for review February 4, 2026 13:42
@v-alexmoraru v-alexmoraru requested a review from a team as a code owner February 4, 2026 13:42
Comment on lines +104 to +115
@pytest.mark.parametrize("item_type", [
ItemType.NOTEBOOK,
ItemType.SPARK_JOB_DEFINITION,
ItemType.DATA_PIPELINE,
ItemType.MIRRORED_DATABASE,
ItemType.REPORT,
ItemType.SEMANTIC_MODEL,
ItemType.KQL_DATABASE,
ItemType.COSMOS_DB_DATABASE,
ItemType.USER_DATA_FUNCTION,
ItemType.GRAPH_QUERY_SET
])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how can we maintain one list instead of defining anytime new mark.parametrize ? i am trying to think how we will maintain it going forward

Comment on lines +56 to +64
@pytest.mark.parametrize("item_type,expected_file_extension", [
(ItemType.NOTEBOOK, ".ipynb"),
(ItemType.SPARK_JOB_DEFINITION, ".json"),
(ItemType.DATA_PIPELINE, ".json"),
(ItemType.MIRRORED_DATABASE, ".json"),
(ItemType.COSMOS_DB_DATABASE, ".json"),
(ItemType.USER_DATA_FUNCTION, ".json"),
(ItemType.GRAPH_QUERY_SET, ".json")
])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this the same as above ? if yes, let's define in conftest and use it here and above.

btw, i think it will be best to concentrate all markers like this one in conftest, even if they are too specific for the scenario - perhaps we can name them according to the scenario they are being used. this way we will have one place to maintain and strightforward decision what items i want to add / update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants